<template>
  <div>
    <el-dialog
      :visible.sync="dialogFormVisibles"
      width="80%"
      :before-close="mycloseDialog"
    >
      <Myfzpg
        :visible="dialogFormVisibles"
        @myconfirmDialog="myconfirmDialog"
        @mycloseDialog="mycloseDialog"
      ></Myfzpg>
    </el-dialog>
  </div>
</template>

<script>
import Myfzpg from "../views/HomeView.vue";
export default {
  props: {
    dialogFormVisibles: {
      type: Boolean,
    },
  },
  components: {
    Myfzpg,
  },
  data() {
    return {};
  },

  mounted() {},

  methods: {
    //取消
    mycloseDialog() {
      this.$emit("myCancelBtn");
    },
    //确认
    myconfirmDialog() {
      this.$emit("myConfirmBtn");
    },
  },
};
</script>

<style lang="scss" scoped>
</style>